
namespace Himall.Entity
{
    using System;
    using System.Collections.Generic;
    /// <summary>
    /// 吸粉红包信息表
    /// </summary>
    public partial class BonusInfo:BaseModel
    {
        long _id;
        public new long Id { get{ return _id; } set{ _id=value; base.Id = value; } }
        /// <summary>
        /// 类型，活动红包，关注送红包
        /// </summary>
        public BonusType Type { get; set; }
        /// <summary>
        /// 样式，模板一（源生风格），模板二
        /// </summary>
        public BonusStyle Style { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 商户名称
        /// </summary>
        public string MerchantsName { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 祝福语
        /// </summary>
        public string Blessing { get; set; }
        /// <summary>
        /// 总面额
        /// </summary>
        public decimal TotalPrice { get; set; }
        /// <summary>
        /// 开始日期
        /// </summary>
        public System.DateTime StartTime { get; set; }
        /// <summary>
        /// 结束日期
        /// </summary>
        public System.DateTime EndTime { get; set; }
        /// <summary>
        /// 二维码
        /// </summary>
        public string QRPath { get; set; }
        /// <summary>
        /// 固定金额
        /// </summary>
        public Nullable<decimal> FixedAmount { get; set; }
        /// <summary>
        /// 随机金额起止范围
        /// </summary>
        public Nullable<decimal> RandomAmountStart { get; set; }
        /// <summary>
        /// 随机金额起止范围
        /// </summary>
        public Nullable<decimal> RandomAmountEnd { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int ReceiveCount { get; set; }
        public string ImagePath { get; set; }
        public string Description { get; set; }
        public bool IsInvalid { get; set; }
        /// <summary>
        /// 是否固定金额
        /// </summary>
        public Nullable<BonusPriceType> PriceType { get; set; }
        public decimal ReceivePrice { get; set; }
        public string ReceiveHref { get; set; }
        public bool IsAttention { get; set; }
        public bool IsGuideShare { get; set; }
    
        public virtual ICollection<BonusReceiveInfo> Himall_BonusReceive { get; set; } = new HashSet<BonusReceiveInfo>();
    }
}
